package com.ruoyi.sl.service;

import java.util.List;
import com.ruoyi.sl.domain.SlOfcperformance;

/**
 * 绩效信息Service接口
 * 
 * @author admin
 * @date 2024-06-14
 */
public interface ISlOfcperformanceService 
{
    /**
     * 查询绩效信息
     * 
     * @param performanceId 绩效信息主键
     * @return 绩效信息
     */
    public SlOfcperformance selectSlOfcperformanceByPerformanceId(Long performanceId);

    /**
     * 查询绩效信息
     *
     * @param ofcmpayId 工资ID主键
     * @return 绩效信息
     */
    public SlOfcperformance selectSlOfcperformanceByOfcmpayId(Long ofcmpayId);
    /**
     * 查询绩效信息列表
     * 
     * @param slOfcperformance 绩效信息
     * @return 绩效信息集合
     */
    public List<SlOfcperformance> selectSlOfcperformanceList(SlOfcperformance slOfcperformance);

    /**
     * 新增绩效信息
     * 
     * @param slOfcperformance 绩效信息
     * @return 结果
     */
    public int insertSlOfcperformance(SlOfcperformance slOfcperformance);

    /**
     * 修改绩效信息
     * 
     * @param slOfcperformance 绩效信息
     * @return 结果
     */
    public int updateSlOfcperformance(SlOfcperformance slOfcperformance);

    /**
     * 批量删除绩效信息
     * 
     * @param performanceIds 需要删除的绩效信息主键集合
     * @return 结果
     */
    public int deleteSlOfcperformanceByPerformanceIds(Long[] performanceIds);

    /**
     * 删除绩效信息信息
     * 
     * @param performanceId 绩效信息主键
     * @return 结果
     */
    public int deleteSlOfcperformanceByPerformanceId(Long performanceId);
}
